home *** CD-ROM | disk | FTP | other *** search
-
- Hello!
-
- I have a little coding problem that i think most of you are able to help me
- out with quite easy.
-
- a
- Procedure a
- b
- endproc
- procedure b
- a
- endproc
-
- This will cause a out or stack error becos it writes the same data one time
- for each loop until you are out of stack space, Right??
- But how do you make this work???
-
- And will it be bether to do it like this??
-
- Movment:
- (some code)
- return
-
- procedure a
- do
- (some code)
- gosub movment
- loop
- endproc
-
- With this i dont get it to jump out of the proceure and go to Movment: and
- return back into the procedure.
- I tryed Global movment but that dident help at all :(
-
- The reason i want it to be like one of these exampels is that i'am gonna have
- 6 procedures and then it takes up to much space and memory to have the code
- in movment 6 times, when i dont need to have it more than one time.
-
- Oki, please help me with this prob!!!
-
-
- Morten Bolstad.
-
-
-
-
-